Collocation method

In mathematics, a collocation method is a method for the numerical solution of ordinary differential equations, partial differential equations and integral equations. The idea is to choose a finite-dimensional space of candidate solutions (usually, polynomials up to a certain degree) and a number of points in the domain (called collocation points), and to select that solution which satisfies the given equation at the collocation points.

Ordinary differential equations

Suppose that the ordinary differential equation

 y'(t) = f(t,y(t)), \quad y(t_0)=y_0,

is to be solved over the interval [t0t0 + h]. Choose 0 ≤ c1< c2< … < cn ≤ 1.

The corresponding (polynomial) collocation method approximates the solution y by the polynomial p of degree n which satisfies the initial condition p(t0) = y0, and the differential equation p'(t) = f(t,p(t)) at all points, called the collocation points, t = t0 + ckh where k = 1, …, n. This gives n + 1 conditions, which matches the n + 1 parameters needed to specify a polynomial of degree n.

All these collocation methods are in fact implicit Runge–Kutta methods. However, not all implicit Runge–Kutta methods are collocation methods. [1]

Example

Pick, as an example, the two collocation points c1 = 0 and c2 = 1 (so n = 2). The collocation conditions are

 p(t_0) = y_0, \,
 p'(t_0) = f(t_0, p(t_0)), \,
 p'(t_0%2Bh) = f(t_0%2Bh, p(t_0%2Bh)). \,

There are three conditions, so p should be a polynomial of degree 2. Write p in the form

 p(t) = \alpha (t-t_0)^2 %2B \beta (t-t_0) %2B \gamma \,

to simplify the computations. Then the collocation conditions can be solved to give the coefficients

 
   \begin{align}
   \alpha &= \frac{1}{2h} \Big( f(t_0%2Bh, p(t_0%2Bh)) - f(t_0, p(t_0)) \Big), \\
   \beta &= f(t_0, p(t_0)), \\
   \gamma &= y_0. 
   \end{align}

The collocation method is now given (implicitly) by

 y_1 = p(t_0 %2B h) = y_0 %2B \frac12h \Big (f(t_0%2Bh, y_1) %2B f(t_0,y_0) \Big), \,

where y1 = p(t0 + h) is the approximate solution at t = t0 + h.

This method is known as the "trapezoidal rule." Indeed, this method can also be derived by rewriting the differential equation as

 y(t) = y(t_0) %2B \int_{t_0}^t f(\tau, y(\tau)) \,\textrm{d}\tau, \,

and approximating the integral on the right-hand side by the trapezoidal rule for integrals.

References

  1. ^ Ascher, Uri M.; Linda R. Petzold (1998). Computer Methods for Ordinary Differential Equations and Differential-Algebraic Equations. Philadelphia, USA: SIAM. ISBN 0-89871-412-5.